--[[
Name: LibBabble-TalentTree-3.0
Revision: $Rev: 18 $
Maintainers: ckknight, nevcairiel, Ackis
Website: http://www.wowace.com/projects/libbabble-talenttree-3-0/
Dependencies: None
License: MIT
]]

local MAJOR_VERSION = "LibBabble-TalentTree-3.0"
local MINOR_VERSION = 90000 + tonumber(("$Rev: 18 $"):match("%d+"))

if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end
local lib = LibStub("LibBabble-3.0"):New(MAJOR_VERSION, MINOR_VERSION)
if not lib then return end

local GAME_LOCALE = GetLocale()

lib:SetBaseTranslations {
	Affliction = "Affliction",
	Arcane = "Arcane",
	Arms = "Arms",
	Assassination = "Assassination",
	Balance = "Balance",
	["Beast Mastery"] = "Beast Mastery",
	Blood = "Blood",
	Combat = "Combat",
	Demonology = "Demonology",
	Destruction = "Destruction",
	Discipline = "Discipline",
	Elemental = "Elemental",
	Enhancement = "Enhancement",
	["Feral Combat"] = "Feral Combat",
	Fire = "Fire",
	Frost = "Frost",
	Fury = "Fury",
	Holy = "Holy",
	Hybrid = "Hybrid",
	Marksmanship = "Marksmanship",
	Protection = "Protection",
	Restoration = "Restoration",
	Retribution = "Retribution",
	Shadow = "Shadow",
	Subtlety = "Subtlety",
	Survival = "Survival",
	Unholy = "Unholy",
}


if GAME_LOCALE == "enUS" then
	lib:SetCurrentTranslations(true)
--elseif GAME_LOCALE == "deDE" then
--elseif GAME_LOCALE == "frFR" then
--elseif GAME_LOCALE == "koKR" then
--elseif GAME_LOCALE == "esES" then
--elseif GAME_LOCALE == "esMX" then
--elseif GAME_LOCALE == "ruRU" then
elseif GAME_LOCALE == "zhCN" then
	lib:SetCurrentTranslations {
	Affliction = "痛苦",
	Arcane = "奥术",
	Arms = "武器",
	Assassination = "刺杀",
	Balance = "平衡",
	["Beast Mastery"] = "野兽控制",
	Blood = "鲜血",
	Combat = "战斗",
	Demonology = "恶魔学识",
	Destruction = "毁灭",
	Discipline = "戒律",
	Elemental = "元素战斗",
	Enhancement = "增强",
	["Feral Combat"] = "野性战斗",
	Fire = "火焰",
	Frost = "冰霜",
	Fury = "狂怒",
	Holy = "神圣",
	Hybrid = "混合",
	Marksmanship = "射击",
	Protection = "防护",
	Restoration = "恢复",
	Retribution = "惩戒",
	Shadow = "暗影魔法",
	Subtlety = "敏锐",
	Survival = "生存技能",
	Unholy = "邪恶",
}
elseif GAME_LOCALE == "zhTW" then
	lib:SetCurrentTranslations {
	Affliction = "痛苦",
	Arcane = "秘法",
	Arms = "武器",
	Assassination = "刺殺",
	Balance = "平衡",
	["Beast Mastery"] = "野獸控制",
	Blood = "血魄",
	Combat = "戰鬥",
	Demonology = "惡魔學識",
	Destruction = "毀滅",
	Discipline = "戒律",
	Elemental = "元素",
	Enhancement = "增強",
	["Feral Combat"] = "野性戰鬥",
	Fire = "火焰",
	Frost = "冰霜",
	Fury = "狂怒",
	Holy = "神聖",
	Hybrid = "混合",
	Marksmanship = "射擊",
	Protection = "防護",
	Restoration = "恢復",
	Retribution = "懲戒",
	Shadow = "暗影",
	Subtlety = "敏銳",
	Survival = "生存",
	Unholy = "穢邪",
}

else
	error(("%s: Locale %q not supported"):format(MAJOR_VERSION, GAME_LOCALE))
end
